Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Aug 19, 2021

Bumps rubocop from 1.16.0 to 1.19.1.

Release notes

Sourced from rubocop's releases.

RuboCop 1.19

New features

  • #4182: Add Lint/AmbiguousRange cop to check for ranges with ambiguous boundaries. (@​dvandersluis)
  • #10000: Parallel static analysis by default. (@​koic)
  • #9948: Support Ruby 2.7's pattern matching for Style/ConditionalAssignment cop. (@​koic)
  • #9999: Add new Style/RedundantSelfAssignmentBranch cop. (@​koic)

Bug fixes

  • #9927: Indent hash values in Layout/LineEndStringConcatenationIndentation. (@​jonas054)
  • #9959: Make Style/IdenticalConditionalBranches able to handle ternary ifs. (@​dvandersluis)
  • #9946: Avoid slow regexp matches in Style/CommentedKeyword. (@​jonas054)
  • #7422: Treat constant assignment like other assignment in Layout/SpaceAroundOperators. (@​dvandersluis)
  • #9953: Fix an infinite loop error and a false auto-correction behavior for Layout/EndAlignment when using a conditional statement in a method argument. (@​koic)
  • #9958: Prevent an infinite loop when a detected method has fewer arguments than expected. (@​dvandersluis)
  • #9977: Update Layout/EmptyLineAfterGuardClause to not register an offense if there is another expression following the guard clause on the same line. (@​dvandersluis)
  • #9980: Fix a false positive for Style/IdenticalConditionalBranches when assigning to a variable used in a condition. (@​koic)
  • #9975: Parentheses are always required for Style/MethodDefParentheses when a forwarding argument (...) is used. (@​dvandersluis)
  • #9984: Fix false negatives involving heredocs for Layout/SpaceBeforeComma, Layout/SpaceBeforeComment, Layout/SpaceBeforeSemicolon and Layout/SpaceInsideParens. (@​dvandersluis)
  • #9954: Fix infinite loop error for Layout/HashAlignment when EnforcedStyle: with_fixed_indentation is specified for Layout/ArgumentAlignment. (@​koic)
  • #10002: Fix an incorrect auto-correct for Lint/AmbigousRegexpLiteral when using nested method arguments without parentheses. (@​koic)
  • #9952 rubocop-rspec#1126: Fix inherit_mode for deeply nested configuration defined in extensions' default configuration. (@​pirj)
  • #9957: Add WholeWord configuration to Naming/InclusiveLanguage's FlaggedTerms config. (@​dvandersluis)
  • #9970: Don't register an offense when sort method has arguments for Style/RedundantSort cop. (@​mtsmfm)
  • #4097: Add require English for special globals. (@​biinari)
  • #9955: Fix Style/ExplicitBlockArgument adding a second set of parentheses. (@​dvandersluis)
  • #9973: Fix a false positive for Layout/RescueEnsureAlignment when aligned rescue keyword and leading dot. (@​koic)
  • #9945: Fix auto-correction of lines in heredocs with only spaces in Layout/TrailingWhitespace. (@​jonas054)

Changes

  • #9989: Mark Style/CommentedKeyword as unsafe auto-correction. (@​koic)
  • #9964: Make Layout/LeadingCommentSpace aware of #:nodoc. (@​koic)
  • #9985: Mark Style/IdenticalConditionalBranches as unsafe auto-correction. (@​koic)
  • #9962: Update Style/WordArray to register an offense in percent style if any values contain spaces. (@​dvandersluis)
  • #9979: Enable basic autocorrection for Style/Semicolon. (@​dvandersluis)

RuboCop 1.18.4

New features

  • #9930: Support Ruby 2.7's pattern matching for Lint/DuplicateBranch cop. (@​koic)

... (truncated)

Changelog

Sourced from rubocop's changelog.

1.19.1 (2021-08-19)

Bug fixes

  • #10017: Fixan error for Layout/RescueEnsureAlignment when using zsuper with block. ([@​koic][])
  • #10011: Fix a false positive for Style/RedundantSelfAssignmentBranch when using instance variable, class variable, and global variable. ([@​koic][])
  • #10010: Fix a false positive for Style/DoubleNegation when !! is used at return location and before rescue keyword. ([@​koic][])
  • #10014: Fix Style/Encoding to handle more situations properly. ([@​dvandersluis][])
  • #10016: Fix conflict between Style/SoleNestedConditional and Style/NegatedIf/Style/NegatedUnless. ([@​dvandersluis][])
  • #10024: Fix an incorrect auto-correct for Style/RedundantSelfAssignmentBranch when using multiline if / else conditional assignment. ([@​koic][])
  • #10004: Fix a false positive for Style/RedundantBegin when using one-liner with semicolon. ([@​koic][])

1.19.0 (2021-08-12)

New features

  • #4182: Add Lint/AmbiguousRange cop to check for ranges with ambiguous boundaries. ([@​dvandersluis][])
  • #10000: Parallel static analysis by default. ([@​koic][])
  • #9948: Support Ruby 2.7's pattern matching for Style/ConditionalAssignment cop. ([@​koic][])
  • #9999: Add new Style/RedundantSelfAssignmentBranch cop. ([@​koic][])

Bug fixes

  • #9927: Indent hash values in Layout/LineEndStringConcatenationIndentation. ([@​jonas054][])
  • #9959: Make Style/IdenticalConditionalBranches able to handle ternary ifs. ([@​dvandersluis][])
  • #9946: Avoid slow regexp matches in Style/CommentedKeyword. ([@​jonas054][])
  • #7422: Treat constant assignment like other assignment in Layout/SpaceAroundOperators. ([@​dvandersluis][])
  • #9953: Fix an infinite loop error and a false auto-correction behavior for Layout/EndAlignment when using a conditional statement in a method argument. ([@​koic][])
  • #9958: Prevent an infinite loop when a detected method has fewer arguments than expected. ([@​dvandersluis][])
  • #9977: Update Layout/EmptyLineAfterGuardClause to not register an offense if there is another expression following the guard clause on the same line. ([@​dvandersluis][])
  • #9980: Fix a false positive for Style/IdenticalConditionalBranches when assigning to a variable used in a condition. ([@​koic][])
  • #9975: Parentheses are always required for Style/MethodDefParentheses when a forwarding argument (...) is used. ([@​dvandersluis][])
  • #9984: Fix false negatives involving heredocs for Layout/SpaceBeforeComma, Layout/SpaceBeforeComment, Layout/SpaceBeforeSemicolon and Layout/SpaceInsideParens. ([@​dvandersluis][])
  • #9954: Fix infinite loop error for Layout/HashAlignment when EnforcedStyle: with_fixed_indentation is specified for Layout/ArgumentAlignment. ([@​koic][])
  • #10002: Fix an incorrect auto-correct for Lint/AmbigousRegexpLiteral when using nested method arguments without parentheses. ([@​koic][])
  • #9952 rubocop-rspec#1126: Fix inherit_mode for deeply nested configuration defined in extensions' default configuration. ([@​pirj][])
  • #9957: Add WholeWord configuration to Naming/InclusiveLanguage's FlaggedTerms config. ([@​dvandersluis][])
  • #9970: Don't register an offense when sort method has arguments for Style/RedundantSort cop. ([@​mtsmfm][])
  • #4097: Add require English for special globals. ([@​biinari][])
  • #9955: Fix Style/ExplicitBlockArgument adding a second set of parentheses. ([@​dvandersluis][])
  • #9973: Fix a false positive for Layout/RescueEnsureAlignment when aligned rescue keyword and leading dot. ([@​koic][])
  • #9945: Fix auto-correction of lines in heredocs with only spaces in Layout/TrailingWhitespace. ([@​jonas054][])

Changes

  • #9989: Mark Style/CommentedKeyword as unsafe auto-correction. ([@​koic][])
  • #9964: Make Layout/LeadingCommentSpace aware of #:nodoc. ([@​koic][])
  • #9985: Mark Style/IdenticalConditionalBranches as unsafe auto-correction. ([@​koic][])
  • #9962: Update Style/WordArray to register an offense in percent style if any values contain spaces. ([@​dvandersluis][])
  • #9979: Enable basic autocorrection for Style/Semicolon. ([@​dvandersluis][])

... (truncated)

Commits
  • 9a48e71 Cut 1.19.1
  • 064a66c Update Changelog
  • d9c2330 [Fix #9939] Fix/hash as last array item (#9943)
  • 8e885c0 [Fix #10024] Fix an incorrect auto-correct for `Style/RedundantSelfAssignment...
  • 85219e5 [Fix #10014] Fix Style/Encoding to handle more situations properly.
  • a2730c3 [Fix #10004] Fix a false positive for Style/RedundantBegin
  • 4addf09 [Fix #10011] Fix a false positive for Style/RedundantSelfAssignmentBranch
  • 1c9bff0 [Fix #10010] Fix a false positive for Style/DoubleNegation
  • 016f38e Fix an error for Layout/RescueEnsureAlignment
  • 4a52615 Bump RuboCop Performance to 1.11
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.16.0 to 1.19.1.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](rubocop/rubocop@v1.16.0...v1.19.1)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 19, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 26, 2021

Superseded by #45.

@dependabot dependabot bot closed this Aug 26, 2021
@dependabot dependabot bot deleted the dependabot/bundler/rubocop-1.19.1 branch August 26, 2021 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant